<template></template>

<script>
import { ref, reactive, h } from 'vue';
export default {
  name: 'SetupH',
  setup() {
    const count = ref(0);
    const state = reactive({
      foo: 'bar',
    });

    setTimeout(() => {
      count.value = 1;
      state.foo = 'foo';
    }, 2000);

    return () => h('h1', [count.value, state.foo]);
  },
};
</script>

<style></style>
